﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WheelLucky.aspx.cs" Inherits="WheelLucky" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    
    <style type="text/css">
        *{margin:0; padding:0;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <script src="<%= ResolveUrl("~/Wheel/swfobject.js")%>" type="text/javascript"></script>
    <script type="text/javascript">
        window.onload = function () {
            var so = new SWFObject('Wheel/wof_eng.swf', 'swft', 500, 260, "9", "#e8e6e6");
            so.addParam("name", "swft");
            so.addParam("id", "swft");
            so.addParam("menu", "false");
            so.addParam("quality", "hight");
            if (navigator.appName == "Microsoft Internet Explorer" || (navigator.userAgent.indexOf("Safari") != -1)) {
                so.addParam("wmode", "opaque");
            }
            so.addParam("allowScriptAccess", "always");
            so.addParam("salign", "TL")
            so.addParam("scale", "noscale");
            so.addVariable("language", "vn");
            so.addVariable("spin_delay", "7");
            // These two variables should be populated by session variables
            so.addVariable("member", "nguoicungkho"); //displayname of user
            so.addVariable("member_id", "nguoicungkho");
            so.addVariable("advertizer_name", "Advertizer One"); // product code
            so.addVariable("advertizer_id", "A1"); // productID
            so.addVariable("can_spin", "0");
            so.addVariable("spin_auto", "false");
            so.addVariable("spin", 'Wheel/php/wof2.aspx');
            so.addVariable("results", 'Wheel/php/wof_results.aspx"');
            //so.addVariable("rootURL", "http://localhost/ryan/");
            //so.addVariable("rootURL", "http://www.papergrave.com/ryan/");
            //so.addVariable("rootURL", '<%= ResolveUrl("~/User/DetailCompany.html")%>');
            so.addVariable("rootURL", "http://localhost:4943/up1-vn-commercial/");
            so.write('flash_content');
        }
    </script>
    <div style="width:990px; margin:0 auto">
        <div style="text-align:center;background:#0576B5;">
            <div id="flash_content"></div>
        </div>
        <iframe src="#" width="990px" style="border:none"></iframe>
    </div>
    </form>
</body>
</html>
